package 斗地主;

public class brank {  //牌

	private String color;
	private String number;
	private int size;
	
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public String getNumber() {
		return number;
	} 
	public void setNumber(String number) {
		this.number = number;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	
	public brank() {
		super();
		
	}
	
	public brank(String color, String number, int size) {
		super();
		this.color = color;
		this.number = number;
		this.size = size;
	}
	@Override
	public String toString() {
		return  color + number ;
	}
	
	
		
}		 
		 
		 
